package com.zc.custom.mapper;

import com.zc.custom.domain.ChargeCustomOrderInvoice;

import java.util.List;

/**
 * 客户订单发票Mapper接口
 * 
 * @author gaojikun
 * @date 2023-06-15
 */
public interface ChargeCustomOrderInvoiceMapper 
{
    /**
     * 查询客户订单发票
     * 
     * @param id 客户订单发票主键
     * @return 客户订单发票
     */
    public ChargeCustomOrderInvoice selectChargeCustomOrderInvoiceById(Long id);

    /**
     * 查询客户订单发票列表
     * 
     * @param chargeCustomOrderInvoice 客户订单发票
     * @return 客户订单发票集合
     */
    List<ChargeCustomOrderInvoice> selectChargeCustomOrderInvoiceList(ChargeCustomOrderInvoice chargeCustomOrderInvoice);

    /**
     * 新增客户订单发票
     * 
     * @param chargeCustomOrderInvoice 客户订单发票
     * @return 结果
     */
    boolean insertChargeCustomOrderInvoice(ChargeCustomOrderInvoice chargeCustomOrderInvoice);

    /**
     * 修改客户订单发票
     * 
     * @param chargeCustomOrderInvoice 客户订单发票
     * @return 结果
     */
    boolean updateChargeCustomOrderInvoice(ChargeCustomOrderInvoice chargeCustomOrderInvoice);

    /**
     * 删除客户订单发票
     * 
     * @param id 客户订单发票主键
     * @return 结果
     */
    boolean deleteChargeCustomOrderInvoiceById(Long id);

    /**
     * 批量删除客户订单发票
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteChargeCustomOrderInvoiceByIds(Long[] ids);
}
